
module "s3" {
  source = "../../modules/hybrid/dns_multi_v2/deeproute.cn"

  type = "A"
  ttl  = 3600

  rrs   = ["s3"]
  values = [
    "10.3.8.31",
    "10.3.8.32",
    "10.3.8.33",
    "10.3.8.34",
    "10.3.8.35",
    "10.3.8.36",
    "10.3.8.37",
    "10.3.8.38",
  ]
}

module "s3-backup-expon" {
  source = "../../modules/hybrid/dns_multi_v2/deeproute.cn"

  type = "A"
  ttl  = 3600

  rrs   = ["s3-backup-expon"]
  values = [
    "10.3.11.61",
    "10.3.11.62",
    "10.3.11.63",
    "10.3.11.60",
  ]
}

module "s3-backup" {
  source = "../../modules/hybrid/dns_multi_v2/deeproute.cn"

  type = "A"
  rrs  = ["s3-backup"]
  ttl  = 3600
  values = [
    "10.16.11.101",
    "10.16.11.102",
    "10.16.11.103",
    "10.16.11.104",
  ]
}

module "s3-bj" {
  source = "../../modules/hybrid/dns_multi_v2/deeproute.cn"

  type = "A"
  ttl  = 3600

  rrs   = ["s3-bj"]
  values = [
    "39.108.90.19",
  ]
}

module "s3-expon" {
  source = "../../modules/hybrid/dns_multi_v2/deeproute.cn"

  type = "A"
  ttl  = 3600

  rrs   = ["s3-expon"]
  values = [
    "10.3.11.31",
    "10.3.11.32",
    "10.3.11.33",
    "10.3.11.34",
    "10.3.11.35",
    "10.3.11.36",
    "10.3.11.37",
    "10.3.11.38",
    "10.3.11.39",
    "10.3.11.40",
    "10.3.11.41",
    "10.3.11.42",
    "10.3.11.43",
    "10.3.11.44",
    "10.3.11.45",
  ]
}

module "s3-minio" {
  source = "../../modules/hybrid/dns_multi_v2/deeproute.cn"

  type = "A"
  ttl  = 3600

  rrs   = ["s3-minio"]
  values = [
    "10.3.2.104",
    "10.3.2.105",
    "10.3.2.107",
  ]
}

module "s3-smd" {
  source = "../../modules/hybrid/dns_multi_v2/deeproute.cn"

  type = "A"
  ttl  = 3600

  rrs   = ["s3-smd"]
  values = [
    "10.3.8.31",
    "10.3.8.32",
    "10.3.8.33",
    "10.3.8.34",
    "10.3.8.35",
    "10.3.8.36",
    "10.3.8.37",
    "10.3.8.38",
  ]
}

module "s3-prediction-ss" {
  source = "../../modules/hybrid/dns_multi_v2/deeproute.cn"

  type = "A"
  ttl  = 3600

  rrs   = ["s3-prediction-ss"]
  values = [
   "10.16.11.105",
   "10.16.11.106",
   "10.16.11.107",
   "10.16.11.108",
   "10.16.11.109",
   "10.16.11.110",
  ]
}
